{
	"info": {
		"_postman_id": "58e909bc-a22a-40c4-9e9b-8f337ed626b8",
		"name": "K12NET Integration",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
	},
	"item": [
		{
			"name": "SSO",
			"event": [
				{
					"listen": "test",
					"script": {
						"exec": [
							"pm.test(\"response is ok\",  ()=>{",
							"    pm.response.to.have.status(200)",
							"})",
							"",
							"var jsonData = JSON.parse(responseBody);",
							"console.log(jsonData);",
							"//postman.setEnvironmentVariable(\"token\", jsonData.token);",
							"",
							"pm.test(\"Response has the required fields - ID, profile, and sub\", function () {",
							"    const responseData = pm.response.json();",
							"    ",
							"    pm.expect(responseData).to.be.an('object');",
							"    pm.expect(responseData.ID).to.exist;",
							"    pm.expect(responseData.profile).to.exist;",
							"    pm.expect(responseData.sub).to.exist;",
							"});",
							"",
							"",
							"pm.test(\"ID, profile, and sub should not be empty strings\", function () {",
							"  const responseData = pm.response.json();",
							"  ",
							"  pm.expect(responseData).to.be.an('object');",
							"  pm.expect(responseData.ID).to.not.equal(\"\");",
							"  pm.expect(responseData.profile).to.not.equal(\"\");",
							"  pm.expect(responseData.sub).to.not.equal(\"\");",
							"});",
							"",
							"",
							"pm.test(\"Content-Type header is application/json\", function () {",
							"    pm.expect(pm.response.headers.get(\"Content-Type\")).to.include(\"application/json\");",
							"});",
							"",
							"",
							"pm.test(\"Response is a valid JSON format\", function () {",
							"    pm.expect(pm.response.json()).to.be.an('object');",
							"});",
							"",
							"",
							"pm.test(\"ID is a non-empty string\", function () {",
							"    const responseData = pm.response.json();",
							"    ",
							"    pm.expect(responseData.ID).to.be.a('string').and.to.have.lengthOf.at.least(1, \"ID should be a non-empty string\");",
							"    pm.environment.set(\"current_user_id\", responseData.ID);",
							"});",
							"",
							"pm.test(\"Profile and sub are non-null values\", function () {",
							"    const responseData = pm.response.json();",
							"    ",
							"    pm.expect(responseData.profile).to.not.be.null;",
							"    pm.expect(responseData.sub).to.not.be.null;",
							"});",
							"",
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "tokenName",
							"value": "usertoken",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": true,
							"type": "boolean"
						},
						{
							"key": "scope",
							"value": "openid profile",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "authorization_code",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/GWCore.Web/connect/userinfo",
					"host": [
						"{{url}}"
					],
					"path": [
						"GWCore.Web",
						"connect",
						"userinfo"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Token",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "urlencoded",
					"urlencoded": [
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "text"
						},
						{
							"key": "client_id",
							"value": "{{client_id}}",
							"type": "text"
						},
						{
							"key": "client_secret",
							"value": "{{client_secret}}",
							"type": "text"
						}
					]
				},
				"url": {
					"raw": "{{url}}/GWCore.Web/connect/token",
					"host": [
						"{{url}}"
					],
					"path": [
						"GWCore.Web",
						"connect",
						"token"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Student Information",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/SSO/Students/{{current_user_id}}",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"SSO",
						"Students",
						"{{current_user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Student Enrollment Information",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/SSO/Students/{{current_user_id}}/Enrollments",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"SSO",
						"Students",
						"{{current_user_id}}",
						"Enrollments"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Teacher Information",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/SSO/Teachers/{{current_user_id}}",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"SSO",
						"Teachers",
						"{{current_user_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Student Contact Information",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/SSO/ContactStudents/{{student_contact_id}}",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"SSO",
						"ContactStudents",
						"{{student_contact_id}}"
					]
				},
				"description": "Pass the ID of a parent who signed in with K12NET, or the ID of a student to get all contacts of that student."
			},
			"response": []
		},
		{
			"name": "Get All Organizations",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Organizations",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Organizations"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Organization",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Organizations/{{organization_id}}",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Organizations",
						"{{organization_id}}"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Schools Of Organization",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Organizations/{{organization_id}}/schools",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Organizations",
						"{{organization_id}}",
						"schools"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Students Of Organization",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"$skip\": 1,\r\n    \"$take\": 2,\r\n    \"$includeTotalCount\": true\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Organizations/{{organization_id}}/Students",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Organizations",
						"{{organization_id}}",
						"Students"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Teachers Of Organization",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\r\n    \"$skip\": 0,\r\n    \"$take\": 2,\r\n    \"$includeTotalCount\": true\r\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Organizations/{{organization_id}}/Teachers",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Organizations",
						"{{organization_id}}",
						"Teachers"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Contacts Of Organization",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Organizations/{{organization_id}}/Contacts",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Organizations",
						"{{organization_id}}",
						"Contacts"
					]
				},
				"body": {
					"mode": "raw",
					"raw": "{\n    \"$skip\": 0,\n    \"$take\": 100,\n    \"$includeTotalCount\": true\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				}
			},
			"response": []
		},
		{
			"name": "Get Student Section Information",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Schools/{{school_id}}/Students/{{student_id}}/Sections",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Schools",
						"{{school_id}}",
						"Students",
						"{{student_id}}",
						"Sections"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Teacher Section Information",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Schools/{{school_id}}/Teachers/{{teacher_id}}/Sections",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Schools",
						"{{school_id}}",
						"Teachers",
						"{{teacher_id}}",
						"Sections"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get Parent Demographics Of School",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Schools/{{school_id}}/Parents/Demographics",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Schools",
						"{{school_id}}",
						"Parents",
						"Demographics"
					]
				}
			},
			"response": []
		},
		{
			"name": "Is Person Active",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Organizations/{{organization_id}}/IsPersonActive",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Organizations",
						"{{organization_id}}",
						"IsPersonActive"
					]
				},
				"body": {
					"mode": "raw",
					"raw": "{\n    \"UserName\": \"\",\n    \"NationalID\": \"\",\n    \"Email\": \"\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"description": "Fill one of UserName, NationalID or Email."
			},
			"response": []
		},
		{
			"name": "Get Administrations Of School",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Schools/{{school_id}}/Administrations",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Schools",
						"{{school_id}}",
						"Administrations"
					]
				},
				"body": {
					"mode": "raw",
					"raw": "{\n    \"$skip\": 0,\n    \"$take\": 10\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				}
			},
			"response": []
		},
		{
			"name": "Get Student Results Of Administration",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Administrations/{{administration_id}}/StudentResults",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Administrations",
						"{{administration_id}}",
						"StudentResults"
					]
				},
				"body": {
					"mode": "raw",
					"raw": "{\n    \"$skip\": 0,\n    \"$take\": 100\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				}
			},
			"response": []
		},
		{
			"name": "Get Registrations Of Student",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "POST",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Schools/{{school_id}}/Students/{{student_id}}/Registrations",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Schools",
						"{{school_id}}",
						"Students",
						"{{student_id}}",
						"Registrations"
					]
				},
				"body": {
					"mode": "raw",
					"raw": "{\n    \"$skip\": 0,\n    \"$take\": 100\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				}
			},
			"response": []
		},
		{
			"name": "Get Result Of Registration",
			"request": {
				"auth": {
					"type": "oauth2",
					"oauth2": [
						{
							"key": "tokenName",
							"value": "clienttoken",
							"type": "string"
						},
						{
							"key": "scope",
							"value": "",
							"type": "string"
						},
						{
							"key": "grant_type",
							"value": "client_credentials",
							"type": "string"
						},
						{
							"key": "useBrowser",
							"value": false,
							"type": "boolean"
						},
						{
							"key": "accessTokenUrl",
							"value": "{{url}}/GWCore.Web/connect/token",
							"type": "string"
						},
						{
							"key": "authUrl",
							"value": "{{url}}/GWCore.Web/connect/authorize",
							"type": "string"
						},
						{
							"key": "clientSecret",
							"value": "{{client_secret}}",
							"type": "string"
						},
						{
							"key": "clientId",
							"value": "{{client_id}}",
							"type": "string"
						},
						{
							"key": "client_authentication",
							"value": "body",
							"type": "string"
						},
						{
							"key": "addTokenTo",
							"value": "header",
							"type": "string"
						}
					]
				},
				"method": "GET",
				"header": [],
				"url": {
					"raw": "{{url}}/INTCore.Web/api/Partner/Administrations/StudentResult/{{registration_id}}",
					"host": [
						"{{url}}"
					],
					"path": [
						"INTCore.Web",
						"api",
						"Partner",
						"Administrations",
						"StudentResult",
						"{{registration_id}}"
					]
				}
			},
			"response": []
		}
	]
}